// vite.config.dev.js
import { defineConfig } from "file:///D:/work/vue/TF/order-managment/hcdispatch/order-app/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/work/vue/TF/order-managment/hcdispatch/order-app/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import path from "path";
import vueJsx from "file:///D:/work/vue/TF/order-managment/hcdispatch/order-app/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
var __vite_injected_original_dirname = "D:\\work\\vue\\TF\\order-managment\\hcdispatch\\order-app";
var lastBuildVersion = function() {
  let date = new Date();
  let year = date.getFullYear() + "";
  let month = date.getMonth() + 1 + "";
  let day = date.getDate() + "";
  let hour = date.getHours() + "";
  let minutes = date.getMinutes() + "";
  let second = date.getSeconds() + "";
  return `${year.substr(2)}.${month.padStart(2, "0")}.${day.padStart(2, "0")}.${hour.padStart(
    2,
    "0"
  )}.${minutes.padStart(2, "0")}.${second.padStart(2, "0")}`;
};
var __APP_INFO__ = {
  lastBuildVersion: lastBuildVersion()
};
var vite_config_dev_default = defineConfig({
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: `@use "@/assets/index.scss" as *;@use "@/assets/vant.scss" as *;`
      }
    }
  },
  publicDir: "public",
  plugins: [
    vue(),
    vueJsx()
  ],
  resolve: {
    alias: {
      "@": path.resolve(__vite_injected_original_dirname, "src")
    }
  },
  server: {
    cors: true,
    hostname: "0.0.0.0",
    port: 5189,
    proxy: {
      "/apis": {
        target: `http://suzamdsltlab002:8095/`,
        changeOrigin: true,
        rewrite: (path2) => path2.replace(/^\/apis/, "/apis"),
        ws: true
      }
    },
    hmr: true
  },
  define: {
    __APP_INFO__: JSON.stringify(__APP_INFO__)
  }
});
export {
  vite_config_dev_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuZGV2LmpzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2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